package com.android.kotlin.util.user

import android.content.Context
import org.jetbrains.anko.toast

/**
 * @Description:
 * @Author: xuwenlong
 * @Email: xuwenlong @ebrun.com
 * @Version:
 * @Create: 2019/2/26 0026
 * @Modify:
 */

class LoginState : UserState {

    override fun collect(context: Context?, position: Int, listener: CollectListener) {
        context?.toast("开始收藏");
    }

    override fun login(context: Context?) {
    }

    override fun goTodoActivity(context: Context?) {
        context?.toast("跳转TodoActivity")
    }

    override fun goCollectActivity(context: Context?) {
        context?.toast("跳转收藏Activity")
    }



}